home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_ncurses.idb / usr / freeware / catman / u_man / cat1 / tic.Z / tic
Encoding:
Text File  |  1999-07-16  |  12.7 KB  |  265 lines

  1.  
  2.  
  3.  
  4.      ttttiiiicccc((((1111MMMM))))               UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV               ttttiiiicccc((((1111MMMM))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       ttttiiiicccc -    the _t_e_r_m_i_n_f_o entry-description compiler
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       ttttiiiicccc [----vvvv[_n]] [----wwww[_n]] [----1111hhhhccccppppIIIICCCCNNNNRRRRrrrrssssTTTTuuuu] [----eeee _n_a_m_e_s] [----oooo _d_i_r] _f_i_l_e
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.       The command ttttiiiicccc translates a tttteeeerrrrmmmmiiiinnnnffffoooo    file from source
  16.       format into compiled format.    The compiled format is
  17.       necessary for    use with the library routines in nnnnccccuuuurrrrsssseeeessss(3X).
  18.  
  19.       The results are normally placed in the system    terminfo
  20.       directory @@@@DDDDAAAATTTTAAAADDDDIIIIRRRR@@@@////tttteeeerrrrmmmmiiiinnnnffffoooo.     There are two ways to change
  21.       this behavior.
  22.  
  23.       First, you may override the system default by    setting    the
  24.       variable TTTTEEEERRRRMMMMIIIINNNNFFFFOOOO in your shell environment to a valid
  25.       (existing) directory name.
  26.  
  27.       Secondly, if ttttiiiicccc cannot get access to    @_D_A_T_A_D_I_R@/_t_e_r_m_i_n_f_o or
  28.       your TERMINFO    directory, it looks for    the directory
  29.       $_H_O_M_E/._t_e_r_m_i_n_f_o; if that directory exists, the entry is
  30.       placed there.
  31.  
  32.       Libraries that read terminfo entries are expected to check
  33.       for a    TERMINFO directory first, look at $_H_O_M_E/._t_e_r_m_i_n_f_o if
  34.       TERMINFO is not set, and finally look    in @_D_A_T_A_D_I_R@/_t_e_r_m_i_n_f_o.
  35.  
  36.       ----hhhh   Print help message and exit.
  37.  
  38.       ----cccc   specifies to only check _f_i_l_e for    errors,    including
  39.            syntax problems and bad use links.  If you specify ----CCCC
  40.            (----IIII) with this option, the code will print warnings
  41.            about entries which, after use resolution, are more
  42.            than 1023 (4096)    bytes long.  Due to a fixed buffer
  43.            length in older termcap libraries (and a    documented
  44.            limit in    terminfo), these entries may cause core    dumps.
  45.  
  46.       ----vvvv_n  specifies that (verbose)    output be written to standard
  47.            error trace information showing ttttiiiicccc's progress.    The
  48.            optional    integer    _n is a number from 1 to    10, inclusive,
  49.            indicating the desired level of detail of information.
  50.            If _n is omitted,    the default level is 1.     If _n is
  51.            specified and greater than 1, the level of detail is
  52.            increased.
  53.  
  54.       ----oooo_d_i_r
  55.            Write compiled entries to given directory.  Overrides
  56.            the TERMINFO environment    variable.
  57.  
  58.       ----wwww_n  specifies the width of the output.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 5/12/99)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      ttttiiiicccc((((1111MMMM))))               UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV               ttttiiiicccc((((1111MMMM))))
  71.  
  72.  
  73.  
  74.       ----1111   restricts the output to a single    column
  75.  
  76.       ----TTTT   eliminates size-restrictions on the generated text.
  77.            This is mainly useful for testing and analysis, since
  78.            the compiled descriptions are limited (e.g., 1023 for
  79.            termcap,    4096 for terminfo).
  80.  
  81.       ----IIII   Force source translation    to terminfo format.
  82.  
  83.       ----LLLL   Force source translation    to terminfo format using the
  84.            long C variable names listed in <tttteeeerrrrmmmm....hhhh>
  85.  
  86.       ----CCCC   Force source translation    to termcap format.  Note: this
  87.            differs from the    -C option of _i_n_f_o_c_m_p(1M) in that it
  88.            does not    merely translate capability names, but also
  89.            translates terminfo strings to termcap format.
  90.            Capabilities that are not translatable are left in the
  91.            entry under their terminfo names    but commented out with
  92.            two preceding dots.
  93.  
  94.       ----NNNN   Disable smart defaults. Normally, when translating from
  95.            termcap to terminfo, the    compiler makes a number    of
  96.            assumptions about the defaults of string    capabilities
  97.            rrrreeeesssseeeetttt1111____ssssttttrrrriiiinnnngggg, ccccaaaarrrrrrrriiiiaaaaggggeeee____rrrreeeettttuuuurrrrnnnn, ccccuuuurrrrssssoooorrrr____lllleeeefffftttt,
  98.            ccccuuuurrrrssssoooorrrr____ddddoooowwwwnnnn, ssssccccrrrroooollllllll____ffffoooorrrrwwwwaaaarrrrdddd, ttttaaaabbbb, nnnneeeewwwwlllliiiinnnneeee,
  99.            kkkkeeeeyyyy____bbbbaaaacccckkkkssssppppaaaacccceeee, kkkkeeeeyyyy____lllleeeefffftttt,    and kkkkeeeeyyyy____ddddoooowwwwnnnn, then attempts to
  100.            use obsolete termcap capabilities to deduce correct
  101.            values.    It also    normally suppresses output of obsolete
  102.            termcap capabilities such as bbbbssss.     This option forces a
  103.            more literal translation    that also preserves the
  104.            obsolete    capabilities.
  105.  
  106.       ----RRRR_s_u_b_s_e_t
  107.            Restrict    output to a given subset.  This    option is for
  108.            use with    archaic    versions of terminfo like those    on
  109.            SVr1, Ultrix, or    HP/UX that don't support the full set
  110.            of SVR4/XSI Curses terminfo; and    outright broken    ports
  111.            like AIX    that have their    own extensions incompatible
  112.            with SVr4/XSI.  Available subsets are "SVr1", "Ultrix",
  113.            "HP", "BSD" and "AIX"; see tttteeeerrrrmmmmiiiinnnnffffoooo(5) for details.
  114.  
  115.       -_r   Force entry resolution (so there    are no remaining tc
  116.            capabilities) even when doing translation to termcap
  117.            format.    This may be needed if you are preparing    a
  118.            termcap file for    a termcap library (such    as GNU termcap
  119.            up to version 1.3 or BSD    termcap    up to 4.3BSD) that
  120.            doesn't handle multiple tc capabilities per entry.
  121.  
  122.       -_s   Summarize the compile by    showing    the directory into
  123.            which entries are written, and the number of entries
  124.            which are compiled.
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                         (printed 5/12/99)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      ttttiiiicccc((((1111MMMM))))               UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV               ttttiiiicccc((((1111MMMM))))
  137.  
  138.  
  139.  
  140.       -_e   Limit writes and    translations to    the following comma-
  141.            separated list of terminals.  If    any name or alias of a
  142.            terminal    matches    one of the names in the    list, the
  143.            entry will be written or    translated as normal.
  144.            Otherwise no output will    be generated for it.  The
  145.            option value is interpreted as a    file containing    the
  146.            list if it contains a '/'.  (Note: depending on how tic
  147.            was compiled, this option may require -I    or -C.)
  148.  
  149.       _f_i_l_e contains    one or more tttteeeerrrrmmmmiiiinnnnffffoooo terminal descriptions in
  150.            source format [see tttteeeerrrrmmmmiiiinnnnffffoooo(5)].     Each description in
  151.            the file    describes the capabilities of a    particular
  152.            terminal.
  153.  
  154.       The debug flag levels    are as follows:
  155.  
  156.       1    Names of    files created and linked
  157.  
  158.       2    Information related to the ``use'' facility
  159.  
  160.       3    Statistics from the hashing algorithm
  161.  
  162.       5    String-table memory allocations
  163.  
  164.       7    Entries into the    string-table
  165.  
  166.       8    List of tokens encountered by scanner
  167.  
  168.       9    All values computed in construction of the hash table
  169.  
  170.       If n is not given, it    is taken to be one.
  171.  
  172.       All but one of the capabilities recognized by    ttttiiiicccc are
  173.       documented in    tttteeeerrrrmmmmiiiinnnnffffoooo(5).  The exception is the uuuusssseeee
  174.       capability.
  175.  
  176.       When a uuuusssseeee=_e_n_t_r_y-_n_a_m_e    field is discovered in a terminal
  177.       entry    currently being    compiled, ttttiiiicccc reads in the binary from
  178.       @@@@DDDDAAAATTTTAAAADDDDIIIIRRRR@@@@////tttteeeerrrrmmmmiiiinnnnffffoooo to    complete the entry.  (Entries created
  179.       from _f_i_l_e will be used first.     If the    environment variable
  180.       TTTTEEEERRRRMMMMIIIINNNNFFFFOOOO is set, that    directory is searched instead of
  181.       @@@@DDDDAAAATTTTAAAADDDDIIIIRRRR@@@@////tttteeeerrrrmmmmiiiinnnnffffoooo.)    ttttiiiicccc duplicates the capabilities    in
  182.       _e_n_t_r_y-_n_a_m_e for the current entry, with the exception of
  183.       those    capabilities that explicitly are defined in the
  184.       current entry.
  185.  
  186.       When an entry, e.g., eeeennnnttttrrrryyyy____nnnnaaaammmmeeee____1111, contains a
  187.       uuuusssseeee====_e_n_t_r_y__n_a_m_e__2 field, any canceled capabilities in
  188.       _e_n_t_r_y__n_a_m_e__2 must also appear    in eeeennnnttttrrrryyyy____nnnnaaaammmmeeee____1111    before uuuusssseeee====
  189.       for these capabilities to be canceled    in eeeennnnttttrrrryyyy____nnnnaaaammmmeeee____1111.
  190.  
  191.       If the environment variable TTTTEEEERRRRMMMMIIIINNNNFFFFOOOO is set, the compiled
  192.  
  193.  
  194.  
  195.      Page 3                         (printed 5/12/99)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      ttttiiiicccc((((1111MMMM))))               UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV               ttttiiiicccc((((1111MMMM))))
  203.  
  204.  
  205.  
  206.       results are placed there instead of @@@@DDDDAAAATTTTAAAADDDDIIIIRRRR@@@@////tttteeeerrrrmmmmiiiinnnnffffoooo.
  207.  
  208.       Total    compiled entries cannot    exceed 4096 bytes.  The    name
  209.       field    cannot exceed 128 bytes.  Terminal names exceeding 14
  210.       characters will be truncated to 14 characters    and a warning
  211.       message will be printed.
  212.  
  213.      CCCCOOOOMMMMPPPPAAAATTTTIIIIBBBBIIIILLLLIIIITTTTYYYY
  214.       There    is some    evidence that historic ttttiiiicccc implementations
  215.       treated description fields with no whitespace    in them    as
  216.       additional aliases or    short names.  This ttttiiiicccc does not    do
  217.       that,    but it does warn when description fields may be
  218.       treated that way and check them for dangerous    characters.
  219.  
  220.      EEEEXXXXTTTTEEEENNNNSSSSIIIIOOOONNNNSSSS
  221.       Unlike the stock SVr4    ttttiiiicccc command, this implementation can
  222.       actually compile termcap sources.  In    fact, entries in
  223.       terminfo and termcap syntax can be mixed in a    single source
  224.       file.     See tttteeeerrrrmmmmiiiinnnnffffoooo(5) for the list of termcap names taken
  225.       to be    equivalent to terminfo names.
  226.  
  227.       The SVr4 manual pages    are not    clear on the resolution    rules
  228.       for uuuusssseeee capabilities.     This implementation of    ttttiiiicccc will find
  229.       uuuusssseeee targets anywhere in the source file, or anywhere in the
  230.       file tree rooted at TTTTEEEERRRRMMMMIIIINNNNFFFFOOOO (if TTTTEEEERRRRMMMMIIIINNNNFFFFOOOO is defined), or in
  231.       the user's $_H_O_M_E/._t_e_r_m_i_n_f_o directory (if it exists), or
  232.       (finally) anywhere in    the system's file tree of compiled
  233.       entries.
  234.  
  235.       The error messages from this ttttiiiicccc have    the same format    as GNU
  236.       C error messages, and    can be parsed by GNU Emacs's compile
  237.       facility.
  238.  
  239.       The -o, -I, -C, -N, -R, -h, -e, -T, -r and -s    options    are
  240.       not supported    under SVr4.  The SVr4 -c mode does not report
  241.       bad use links.
  242.  
  243.       System V does    not compile entries to or read entries from
  244.       your $_H_O_M_E/._t_e_r_m_i_n_f_o directory unless    TERMINFO is explicitly
  245.       set to it.
  246.  
  247.      FFFFIIIILLLLEEEESSSS
  248.       @@@@DDDDAAAATTTTAAAADDDDIIIIRRRR@@@@////tttteeeerrrrmmmmiiiinnnnffffoooo////????////****
  249.            Compiled    terminal description database.
  250.  
  251.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  252.       iiiinnnnffffooooccccmmmmpppp(1M), ccccaaaappppttttooooiiiinnnnffffoooo(1M), iiiinnnnffffoooottttooooccccaaaapppp(1M), ttttooooeeee(1M),
  253.       ccccuuuurrrrsssseeeessss(3X), tttteeeerrrrmmmmiiiinnnnffffoooo(5).
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.      Page 4                         (printed 5/12/99)
  262.  
  263.  
  264.  
  265.